/* ========================================
   TERRASERV WEBSITE CSS
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* ========================================
   MAIN HEADER
   ======================================== */
.main-header {
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 0;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.logo img {
  height: 70px;
  width: auto;
}

.main-nav {
  flex: 0;
  display: flex;
  margin-left: 40px;  
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 45px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #666;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s;
  position: relative;
  display: inline-block;
}
.main-nav a:hover,
.main-nav a.active {
  color: #179267;
  transform: translateY(-3px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s;
}

.user-icon:hover {
  background: #f0f9f6;
}

.btn-account {
  background: #179267;
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-account:hover {
  background: #146b52;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 146, 103, 0.3);
}


.dropdown-menu {
  display: none;
}


    /* Hero Section */
.structured-hero-section {
  position: relative;
  min-height: 500px;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.structured-hero-section .container {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

.structured-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  margin: 0;
  padding: 0;
}

.structured-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0;
  padding: 0;
}

.structured-hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
}

.structured-hero-content {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  margin: 0;
  padding: 0;
  z-index: 3;
}

.structured-hero-left {
  position: relative;
  z-index: 3;
  max-width: 650px;
  padding: 80px 0 80px 100px;
  margin-left: 100px;
  color: white;
}

.structured-hero-left h1 {
  font-size: 48px;
  font-weight: 700;
  color: #179267;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  text-align: left;
}

.structured-hero-left p {
  font-size: 18px;
  color: rgb(0, 0, 0);
  margin-bottom: 35px;
  line-height: 1.7;
  text-shadow: none;
  text-align: left;
}

     /* ========================================
       INNOVATE SECTION
    ======================================== */
    .innovate-section {
      padding: 60px 0 30px;
      background: white;
    }

    .innovate-section .container {
      display: flex;
      align-items: flex-start;
      gap: 50px;
    }

    .innovate-left {
      flex: 0 0 480px;
      min-width: 0;
    }

    .innovate-left h2 {
      font-size: 46px;
      font-weight: 800;
      color: #179267;
      line-height: 1.1;
      margin-bottom: 0;
      /* "We Serve" and tagline appear on same line */
      display: inline;
    }

    /* Wrapper so heading + tagline flow naturally */
    .innovate-heading-block {
      margin-bottom: 0;
    }

    .innovate-heading-block .line1 {
      font-size: 38px;
      font-weight: 800;
      color: #179267;
      line-height: 1.15;
      display: block;
      white-space: nowrap;
    }

    .innovate-heading-block .line2-wrap {
      display: flex;
      align-items: baseline;
      gap: 10px;
      flex-wrap: nowrap;
    }

    .innovate-heading-block .line2 {
      font-size: 38px;
      font-weight: 800;
      color: #179267;
      line-height: 1.15;
      white-space: nowrap;
    }

    .innovate-left .tagline {
      font-size: 11px;
      color: #179267;
      font-weight: 500;
      white-space: nowrap;
    }

    .innovate-right {
      flex: 1;
      padding-top: 6px;
    }

    .innovate-right p {
      font-size: 13.5px;
      color: #333;
      line-height: 1.75;
    }

    /* ========================================
       VISION MISSION VALUES SECTION
    ======================================== */
    .vmv-section {
      padding: 20px 0 70px;
      background: white;
    }

    .vmv-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .vmv-card img {
      width: 100%;
      height: 210px;
      object-fit: cover;
      border-radius: 0;
      margin-bottom: 14px;
      display: block;
    }

    .vmv-card h3 {
      font-size: 15px;
      font-weight: 700;
      color: #179267;
      margin-bottom: 8px;
    }

    .vmv-card p {
      font-size: 11.5px;
      color: #444;
      line-height: 1.75;
      text-align: justify;
    }

    /* ========================================
       OUR GOAL SECTION
    ======================================== */
    .goal-section {
      position: relative;
      min-height: 400px;
      overflow: hidden;
    }

    .goal-bg-img {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    .goal-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
    
      z-index: 1;
    }

    .goal-content {
      position: relative;
      z-index: 2;
      padding: 80px 0;
    }

    .goal-content h2 {
      font-size: 42px;
      font-weight: 800;
      color: white;
      margin-bottom: 20px;
    }

    .goal-content p {
      font-size: 15px;
      color: rgba(255,255,255,0.9);
      line-height: 1.7;
      max-width: 420px;
    }

    /* ========================================
       TESTIMONIAL SECTION
    ======================================== */
    .testimonial-section {
      padding: 80px 0;
      background: white;
    }

    .testimonial-header {
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      gap: 80px;
      align-items: start;
    }

    .testimonial-left {
      text-align: left;
    }

    .testimonial-label {
      font-size: 12px;
      color: #666;
      letter-spacing: 1px;
      margin-bottom: 10px;
      font-weight: 600;
      text-transform: uppercase;
    }

    .testimonial-left h2 {
      font-size: 42px;
      font-weight: 700;
      color: #333;
      margin-bottom: 10px;
      line-height: 1.2;
    }

    .testimonial-subtitle {
      font-size: 15px;
      color: #666;
      margin-bottom: 40px;
    }

    .testimonial-controls {
      display: flex;
      gap: 12px;
      margin-bottom: 25px;
    }

    .testimonial-arrow {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #179267 0%, #0d4d38 100%);
      transition: all 0.3s;
    }

    .testimonial-arrow:hover {
      transform: scale(1.1);
    }

    .pagination-dots {
      display: flex;
      gap: 10px;
    }

    .dot {
      height: 4px;
      width: 40px;
      background: #ddd;
      border-radius: 2px;
      cursor: pointer;
      transition: background 0.3s;
    }

    .dot.active {
      background: #179267;
    }

    .testimonial-right {
      position: relative;
      min-height: 420px;
    }

    .testimonial-card {
      background: white;
      padding: 40px;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.18);
      text-align: left;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.6s ease, visibility 0.6s ease;
      position: absolute;
      top: 0; left: 0; right: 0;
    }

    .testimonial-card.active {
      opacity: 1;
      visibility: visible;
    }

    .company-logo {
      margin-bottom: 20px;
      text-align: center;
    }

    .company-logo img {
      height: 120px;
      width: auto;
      display: block;
      margin: 0 auto;
    }

    .testimonial-text {
      font-size: 14px;
      line-height: 1.8;
      color: #333;
      margin-bottom: 20px;
    }

    .testimonial-author {
      color: #333;
      font-size: 13px;
      line-height: 1.6;
    }

    .testimonial-author strong {
      font-weight: 700;
      color: #000;
    }

    /* ========================================
       HELP SECTION
    ======================================== */
    .help-section {
      padding: 80px 0;
      background: white;
      text-align: center;
    }

    .help-section h2 {
      font-size: 38px;
      font-weight: 700;
      color: #000;
      margin-bottom: 50px;
    }

    .help-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }

    .help-card {
      background: #0d3d47;
      padding: 50px 30px;
      border-radius: 16px;
      color: white;
      transition: all 0.3s;
      cursor: pointer;
      text-align: left;
    }

    .help-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 40px rgba(13,61,71,0.4);
    }

    .help-icon {
      width: 55px;
      height: 55px;
      margin-bottom: 60px;
    }

    .help-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: brightness(0) saturate(100%) invert(65%) sepia(35%) saturate(450%) hue-rotate(120deg) brightness(95%) contrast(85%);
    }

    .help-card h4 {
      font-size: 20px;
      font-weight: 600;
      line-height: 1.3;
      color: white;
    }

    /* ========================================
       FOOTER
    ======================================== */
    .main-footer {
      background: white;
      color: #333;
      padding: 60px 0 0;
    }

    .footer-content {
      display: grid;
      grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
      gap: 50px;
      padding-bottom: 40px;
      border-bottom: 1px solid #179267;
    }

    .footer-logo {
      width: 160px;
      margin-bottom: 20px;
    }

    .footer-tagline,
    .footer-subtitle {
      font-size: 14px;
      color: #333;
      margin-bottom: 5px;
    }

    .footer-subtitle {
      margin-bottom: 25px;
    }

    .social-icons {
      display: flex;
      gap: 12px;
    }

    .social-icon {
      width: 40px;
      height: 40px;
      background: #f0f0f0;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
      color: #333;
      text-decoration: none;
      font-size: 16px;
    }

    .social-icon:hover {
      background: #179267;
      color: white;
    }

    .footer-col h4 {
      font-size: 16px;
      margin-bottom: 20px;
      font-weight: 700;
      color: #179267;
    }

    .footer-col ul {
      list-style: none;
      padding: 0;
    }

    .footer-col ul li {
      margin-bottom: 12px;
    }

    .footer-col a {
      color: #666;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s;
    }

    .footer-col a:hover {
      color: #179267;
    }

    .footer-bottom {
      padding: 20px 0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: #999;
    }

    .footer-bottom a {
      color: #999;
      text-decoration: none;
    }

    .footer-bottom a:hover {
      color: #179267;
    }

    